package com.ds.smartstudio.service;

import com.ds.smartstudio.controller.DTO.UserDTO;
import com.ds.smartstudio.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yangsf
 * @since 2022-07-02 10:42:24
 */
public interface UserService extends IService<User> {
    Integer selectTotalByName(String name);

    List userPage(int page, int pageSize, String name);

    UserDTO login(UserDTO userDTO);

    User selectOneByName(String name);
}
